#ifndef ACTION_H
#define ACTION_H

#include <tsubamegaeshi-base/worldmodel.h>
#include <tsubamegaeshi-base/actionhandler.h>

class Action :public Actionhandler
{
protected:
  Worldmodel::shared_ptr  world_;

public:
  typedef boost::shared_ptr< Actionhandler >  shared_ptr;
  Action(Worldmodel::shared_ptr world) : world_(world) {}
  ~Action(){};

  virtual bool action() = 0;
};

#endif//ACTION_H
